<?php
class CV_OutputFilter_StringDecorator extends CV_OutputFilter_AbstractStringDecorator{
	public function htmlentities(){
		return htmlentities( $this->decoratee );
	}
	public function urlencode(){
		return urlencode( $this->decoratee );
	}

	public function toArrayKey(){
		return $this->htmlentities();
	}
	public function count(){
		trigger_error( "Using count on a string.", E_USER_NOTICE );
		return parent::count();
	}
}